// 员工详情卡片
.employeeCard {
    display: flex;
    //align-items: center;
    background-color: #fff;

    .employeeAvatar {
        width: 66px;
        margin-right: 20px;
    }
    .employeeContent {
        flex: 1;

        .employeeName {
            display: inline-block;
            line-height: 30px;
        }
        .employeeStatus {
            display: inline-block;
            color: #ffb957;
            border: 1px solid #ffb957;
            background-color: rgba(255, 185, 87, 0.09);
            margin-left: 20px;
        }
        .employeeMeta {
            margin-top: 0;
        }
        .employeeMetaItem {
            display: inline-block;
            margin-right: 20px;
            i {
                margin-right: 8px;
                color: #ccc;
            }
        }
    }
    .employeeControls {
        text-align: right;
        width: 200px;
        line-height: 30px;
        height: 30px;

        .employeeControlsItem {
            display: inline-block;
            margin-left: 12px;
            font-size: 16px;
            line-height: 24px;
            width: 24px;
            height: 24px;
            text-align: center;
            color: #666;
            border-radius: 4px;
            border: 1px solid #ccc;

            &:not(.employeeControlsItemDisabled):hover {
                color: #ffb957;
                border: 1px solid #ffb957;
                cursor: pointer;
            }
        }

        .employeeControlsItemDisabled {
            color: #ccc;
            border: 1px solid #ccc;
            cursor: default;
        }
    }
}

.iconButton {
    margin: 0 5px;
    cursor: pointer;
    font-size: 22px;

    &[disabled] {
        pointer-events: none;
        color: rgba(0, 0, 0, 0.25);
        cursor: not-allowed;
    }

    &:hover {
        color: #ffa22d;
    }

    &.delect:hover {
        color: rgba(255, 0, 0, 0.85);
    }
}
